package com.cljh.controller.page;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UserPageBean {

    private Integer id;
    private String username;
    private String pwd;
    private String name;
    private String gender;
    private String vipNumber;
    private Double money;
    private String img;
    private String email;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String birthday;

    private String productName;//商品名称
    private Long productSum;//商品总量
    private Double price;//价格
    private String types;
    private String productDesign;//商品厂家
    private String productColor;//商品颜色
    private String productDetail;//商品详情信息
    private String productMaterials;//商品材质
    private String productSize;//商品尺码

    private Long sum;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer userId;
    private Integer productId;
}
